package com.hui.stock.controller;

import com.hui.stock.log.Log;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: ymh
 * @date: 2025/1/13 15:16
 * @description:
 */
@RestController
public class LogController {
    @Log("Test Operation")
    @GetMapping("/test")
    public String test(@RequestParam String param) {
        return "Operation successful with param: " + param;
    }
}
